package com.jari.lg.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class KeyAreaExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public KeyAreaExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeIsNull() {
            addCriterion("areaBaseCode is null");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeIsNotNull() {
            addCriterion("areaBaseCode is not null");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeEqualTo(String value) {
            addCriterion("areaBaseCode =", value, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeNotEqualTo(String value) {
            addCriterion("areaBaseCode <>", value, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeGreaterThan(String value) {
            addCriterion("areaBaseCode >", value, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeGreaterThanOrEqualTo(String value) {
            addCriterion("areaBaseCode >=", value, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeLessThan(String value) {
            addCriterion("areaBaseCode <", value, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeLessThanOrEqualTo(String value) {
            addCriterion("areaBaseCode <=", value, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeLike(String value) {
            addCriterion("areaBaseCode like", value, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeNotLike(String value) {
            addCriterion("areaBaseCode not like", value, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeIn(List<String> values) {
            addCriterion("areaBaseCode in", values, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeNotIn(List<String> values) {
            addCriterion("areaBaseCode not in", values, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeBetween(String value1, String value2) {
            addCriterion("areaBaseCode between", value1, value2, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreabasecodeNotBetween(String value1, String value2) {
            addCriterion("areaBaseCode not between", value1, value2, "areabasecode");
            return (Criteria) this;
        }

        public Criteria andAreacodeIsNull() {
            addCriterion("areaCode is null");
            return (Criteria) this;
        }

        public Criteria andAreacodeIsNotNull() {
            addCriterion("areaCode is not null");
            return (Criteria) this;
        }

        public Criteria andAreacodeEqualTo(String value) {
            addCriterion("areaCode =", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotEqualTo(String value) {
            addCriterion("areaCode <>", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeGreaterThan(String value) {
            addCriterion("areaCode >", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeGreaterThanOrEqualTo(String value) {
            addCriterion("areaCode >=", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLessThan(String value) {
            addCriterion("areaCode <", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLessThanOrEqualTo(String value) {
            addCriterion("areaCode <=", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLike(String value) {
            addCriterion("areaCode like", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotLike(String value) {
            addCriterion("areaCode not like", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeIn(List<String> values) {
            addCriterion("areaCode in", values, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotIn(List<String> values) {
            addCriterion("areaCode not in", values, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeBetween(String value1, String value2) {
            addCriterion("areaCode between", value1, value2, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotBetween(String value1, String value2) {
            addCriterion("areaCode not between", value1, value2, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreanameIsNull() {
            addCriterion("areaName is null");
            return (Criteria) this;
        }

        public Criteria andAreanameIsNotNull() {
            addCriterion("areaName is not null");
            return (Criteria) this;
        }

        public Criteria andAreanameEqualTo(String value) {
            addCriterion("areaName =", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotEqualTo(String value) {
            addCriterion("areaName <>", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameGreaterThan(String value) {
            addCriterion("areaName >", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameGreaterThanOrEqualTo(String value) {
            addCriterion("areaName >=", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLessThan(String value) {
            addCriterion("areaName <", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLessThanOrEqualTo(String value) {
            addCriterion("areaName <=", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLike(String value) {
            addCriterion("areaName like", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotLike(String value) {
            addCriterion("areaName not like", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameIn(List<String> values) {
            addCriterion("areaName in", values, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotIn(List<String> values) {
            addCriterion("areaName not in", values, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameBetween(String value1, String value2) {
            addCriterion("areaName between", value1, value2, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotBetween(String value1, String value2) {
            addCriterion("areaName not between", value1, value2, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreatypeIsNull() {
            addCriterion("areaType is null");
            return (Criteria) this;
        }

        public Criteria andAreatypeIsNotNull() {
            addCriterion("areaType is not null");
            return (Criteria) this;
        }

        public Criteria andAreatypeEqualTo(String value) {
            addCriterion("areaType =", value, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeNotEqualTo(String value) {
            addCriterion("areaType <>", value, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeGreaterThan(String value) {
            addCriterion("areaType >", value, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeGreaterThanOrEqualTo(String value) {
            addCriterion("areaType >=", value, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeLessThan(String value) {
            addCriterion("areaType <", value, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeLessThanOrEqualTo(String value) {
            addCriterion("areaType <=", value, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeLike(String value) {
            addCriterion("areaType like", value, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeNotLike(String value) {
            addCriterion("areaType not like", value, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeIn(List<String> values) {
            addCriterion("areaType in", values, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeNotIn(List<String> values) {
            addCriterion("areaType not in", values, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeBetween(String value1, String value2) {
            addCriterion("areaType between", value1, value2, "areatype");
            return (Criteria) this;
        }

        public Criteria andAreatypeNotBetween(String value1, String value2) {
            addCriterion("areaType not between", value1, value2, "areatype");
            return (Criteria) this;
        }

        public Criteria andArealonIsNull() {
            addCriterion("areaLon is null");
            return (Criteria) this;
        }

        public Criteria andArealonIsNotNull() {
            addCriterion("areaLon is not null");
            return (Criteria) this;
        }

        public Criteria andArealonEqualTo(BigDecimal value) {
            addCriterion("areaLon =", value, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonNotEqualTo(BigDecimal value) {
            addCriterion("areaLon <>", value, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonGreaterThan(BigDecimal value) {
            addCriterion("areaLon >", value, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("areaLon >=", value, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonLessThan(BigDecimal value) {
            addCriterion("areaLon <", value, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonLessThanOrEqualTo(BigDecimal value) {
            addCriterion("areaLon <=", value, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonIn(List<BigDecimal> values) {
            addCriterion("areaLon in", values, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonNotIn(List<BigDecimal> values) {
            addCriterion("areaLon not in", values, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("areaLon between", value1, value2, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealonNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("areaLon not between", value1, value2, "arealon");
            return (Criteria) this;
        }

        public Criteria andArealatIsNull() {
            addCriterion("areaLat is null");
            return (Criteria) this;
        }

        public Criteria andArealatIsNotNull() {
            addCriterion("areaLat is not null");
            return (Criteria) this;
        }

        public Criteria andArealatEqualTo(BigDecimal value) {
            addCriterion("areaLat =", value, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatNotEqualTo(BigDecimal value) {
            addCriterion("areaLat <>", value, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatGreaterThan(BigDecimal value) {
            addCriterion("areaLat >", value, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("areaLat >=", value, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatLessThan(BigDecimal value) {
            addCriterion("areaLat <", value, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatLessThanOrEqualTo(BigDecimal value) {
            addCriterion("areaLat <=", value, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatIn(List<BigDecimal> values) {
            addCriterion("areaLat in", values, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatNotIn(List<BigDecimal> values) {
            addCriterion("areaLat not in", values, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("areaLat between", value1, value2, "arealat");
            return (Criteria) this;
        }

        public Criteria andArealatNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("areaLat not between", value1, value2, "arealat");
            return (Criteria) this;
        }

        public Criteria andGatecodesIsNull() {
            addCriterion("gateCodes is null");
            return (Criteria) this;
        }

        public Criteria andGatecodesIsNotNull() {
            addCriterion("gateCodes is not null");
            return (Criteria) this;
        }

        public Criteria andGatecodesEqualTo(String value) {
            addCriterion("gateCodes =", value, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesNotEqualTo(String value) {
            addCriterion("gateCodes <>", value, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesGreaterThan(String value) {
            addCriterion("gateCodes >", value, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesGreaterThanOrEqualTo(String value) {
            addCriterion("gateCodes >=", value, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesLessThan(String value) {
            addCriterion("gateCodes <", value, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesLessThanOrEqualTo(String value) {
            addCriterion("gateCodes <=", value, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesLike(String value) {
            addCriterion("gateCodes like", value, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesNotLike(String value) {
            addCriterion("gateCodes not like", value, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesIn(List<String> values) {
            addCriterion("gateCodes in", values, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesNotIn(List<String> values) {
            addCriterion("gateCodes not in", values, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesBetween(String value1, String value2) {
            addCriterion("gateCodes between", value1, value2, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatecodesNotBetween(String value1, String value2) {
            addCriterion("gateCodes not between", value1, value2, "gatecodes");
            return (Criteria) this;
        }

        public Criteria andGatetypeIsNull() {
            addCriterion("gateType is null");
            return (Criteria) this;
        }

        public Criteria andGatetypeIsNotNull() {
            addCriterion("gateType is not null");
            return (Criteria) this;
        }

        public Criteria andGatetypeEqualTo(String value) {
            addCriterion("gateType =", value, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeNotEqualTo(String value) {
            addCriterion("gateType <>", value, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeGreaterThan(String value) {
            addCriterion("gateType >", value, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeGreaterThanOrEqualTo(String value) {
            addCriterion("gateType >=", value, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeLessThan(String value) {
            addCriterion("gateType <", value, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeLessThanOrEqualTo(String value) {
            addCriterion("gateType <=", value, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeLike(String value) {
            addCriterion("gateType like", value, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeNotLike(String value) {
            addCriterion("gateType not like", value, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeIn(List<String> values) {
            addCriterion("gateType in", values, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeNotIn(List<String> values) {
            addCriterion("gateType not in", values, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeBetween(String value1, String value2) {
            addCriterion("gateType between", value1, value2, "gatetype");
            return (Criteria) this;
        }

        public Criteria andGatetypeNotBetween(String value1, String value2) {
            addCriterion("gateType not between", value1, value2, "gatetype");
            return (Criteria) this;
        }

        public Criteria andAreaborderIsNull() {
            addCriterion("areaBorder is null");
            return (Criteria) this;
        }

        public Criteria andAreaborderIsNotNull() {
            addCriterion("areaBorder is not null");
            return (Criteria) this;
        }

        public Criteria andAreaborderEqualTo(String value) {
            addCriterion("areaBorder =", value, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderNotEqualTo(String value) {
            addCriterion("areaBorder <>", value, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderGreaterThan(String value) {
            addCriterion("areaBorder >", value, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderGreaterThanOrEqualTo(String value) {
            addCriterion("areaBorder >=", value, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderLessThan(String value) {
            addCriterion("areaBorder <", value, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderLessThanOrEqualTo(String value) {
            addCriterion("areaBorder <=", value, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderLike(String value) {
            addCriterion("areaBorder like", value, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderNotLike(String value) {
            addCriterion("areaBorder not like", value, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderIn(List<String> values) {
            addCriterion("areaBorder in", values, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderNotIn(List<String> values) {
            addCriterion("areaBorder not in", values, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderBetween(String value1, String value2) {
            addCriterion("areaBorder between", value1, value2, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAreaborderNotBetween(String value1, String value2) {
            addCriterion("areaBorder not between", value1, value2, "areaborder");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeIsNull() {
            addCriterion("adminDivisionCode is null");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeIsNotNull() {
            addCriterion("adminDivisionCode is not null");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeEqualTo(String value) {
            addCriterion("adminDivisionCode =", value, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeNotEqualTo(String value) {
            addCriterion("adminDivisionCode <>", value, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeGreaterThan(String value) {
            addCriterion("adminDivisionCode >", value, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeGreaterThanOrEqualTo(String value) {
            addCriterion("adminDivisionCode >=", value, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeLessThan(String value) {
            addCriterion("adminDivisionCode <", value, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeLessThanOrEqualTo(String value) {
            addCriterion("adminDivisionCode <=", value, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeLike(String value) {
            addCriterion("adminDivisionCode like", value, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeNotLike(String value) {
            addCriterion("adminDivisionCode not like", value, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeIn(List<String> values) {
            addCriterion("adminDivisionCode in", values, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeNotIn(List<String> values) {
            addCriterion("adminDivisionCode not in", values, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeBetween(String value1, String value2) {
            addCriterion("adminDivisionCode between", value1, value2, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisioncodeNotBetween(String value1, String value2) {
            addCriterion("adminDivisionCode not between", value1, value2, "admindivisioncode");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameIsNull() {
            addCriterion("adminDivisionName is null");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameIsNotNull() {
            addCriterion("adminDivisionName is not null");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameEqualTo(String value) {
            addCriterion("adminDivisionName =", value, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameNotEqualTo(String value) {
            addCriterion("adminDivisionName <>", value, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameGreaterThan(String value) {
            addCriterion("adminDivisionName >", value, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameGreaterThanOrEqualTo(String value) {
            addCriterion("adminDivisionName >=", value, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameLessThan(String value) {
            addCriterion("adminDivisionName <", value, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameLessThanOrEqualTo(String value) {
            addCriterion("adminDivisionName <=", value, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameLike(String value) {
            addCriterion("adminDivisionName like", value, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameNotLike(String value) {
            addCriterion("adminDivisionName not like", value, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameIn(List<String> values) {
            addCriterion("adminDivisionName in", values, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameNotIn(List<String> values) {
            addCriterion("adminDivisionName not in", values, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameBetween(String value1, String value2) {
            addCriterion("adminDivisionName between", value1, value2, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andAdmindivisionnameNotBetween(String value1, String value2) {
            addCriterion("adminDivisionName not between", value1, value2, "admindivisionname");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("creator like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("creator not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIsNull() {
            addCriterion("gmtCreate is null");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIsNotNull() {
            addCriterion("gmtCreate is not null");
            return (Criteria) this;
        }

        public Criteria andGmtcreateEqualTo(Date value) {
            addCriterion("gmtCreate =", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotEqualTo(Date value) {
            addCriterion("gmtCreate <>", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateGreaterThan(Date value) {
            addCriterion("gmtCreate >", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmtCreate >=", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateLessThan(Date value) {
            addCriterion("gmtCreate <", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateLessThanOrEqualTo(Date value) {
            addCriterion("gmtCreate <=", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIn(List<Date> values) {
            addCriterion("gmtCreate in", values, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotIn(List<Date> values) {
            addCriterion("gmtCreate not in", values, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateBetween(Date value1, Date value2) {
            addCriterion("gmtCreate between", value1, value2, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotBetween(Date value1, Date value2) {
            addCriterion("gmtCreate not between", value1, value2, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andModifierIsNull() {
            addCriterion("modifier is null");
            return (Criteria) this;
        }

        public Criteria andModifierIsNotNull() {
            addCriterion("modifier is not null");
            return (Criteria) this;
        }

        public Criteria andModifierEqualTo(String value) {
            addCriterion("modifier =", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotEqualTo(String value) {
            addCriterion("modifier <>", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThan(String value) {
            addCriterion("modifier >", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThanOrEqualTo(String value) {
            addCriterion("modifier >=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThan(String value) {
            addCriterion("modifier <", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThanOrEqualTo(String value) {
            addCriterion("modifier <=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLike(String value) {
            addCriterion("modifier like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotLike(String value) {
            addCriterion("modifier not like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierIn(List<String> values) {
            addCriterion("modifier in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotIn(List<String> values) {
            addCriterion("modifier not in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierBetween(String value1, String value2) {
            addCriterion("modifier between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotBetween(String value1, String value2) {
            addCriterion("modifier not between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIsNull() {
            addCriterion("gmtModified is null");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIsNotNull() {
            addCriterion("gmtModified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedEqualTo(Date value) {
            addCriterion("gmtModified =", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotEqualTo(Date value) {
            addCriterion("gmtModified <>", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedGreaterThan(Date value) {
            addCriterion("gmtModified >", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmtModified >=", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedLessThan(Date value) {
            addCriterion("gmtModified <", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmtModified <=", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIn(List<Date> values) {
            addCriterion("gmtModified in", values, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotIn(List<Date> values) {
            addCriterion("gmtModified not in", values, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedBetween(Date value1, Date value2) {
            addCriterion("gmtModified between", value1, value2, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmtModified not between", value1, value2, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNull() {
            addCriterion("dataStatus is null");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNotNull() {
            addCriterion("dataStatus is not null");
            return (Criteria) this;
        }

        public Criteria andDatastatusEqualTo(String value) {
            addCriterion("dataStatus =", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotEqualTo(String value) {
            addCriterion("dataStatus <>", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThan(String value) {
            addCriterion("dataStatus >", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThanOrEqualTo(String value) {
            addCriterion("dataStatus >=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThan(String value) {
            addCriterion("dataStatus <", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThanOrEqualTo(String value) {
            addCriterion("dataStatus <=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLike(String value) {
            addCriterion("dataStatus like", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotLike(String value) {
            addCriterion("dataStatus not like", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusIn(List<String> values) {
            addCriterion("dataStatus in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotIn(List<String> values) {
            addCriterion("dataStatus not in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusBetween(String value1, String value2) {
            addCriterion("dataStatus between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotBetween(String value1, String value2) {
            addCriterion("dataStatus not between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Long value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Long value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Long value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Long value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Long value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Long value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Long> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Long> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Long value1, Long value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Long value1, Long value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}